package com.unittec.drainage.provider.manage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.unittec.drainage.provider.root.EntityRoot;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 区域表
 * @author Jason
 * @date 2021/8/6
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName(value = "region")
public class Region extends EntityRoot implements Serializable {

    private static final long serialVersionUID = 88555135222788929L;

    /**
     * 父级id
     */
    @TableField(value = "parent_id")
    private String parentId;

    /**
     * 区域名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 区域颜色
     */
    @TableField(value = "colour")
    private String colour;

    /**
     * 排序
     */
    @TableField(value = "sort")
    private Short sort;

    /**
     * 起始显示级别
     */
    @TableField(value = "zooms")
    private Short zooms;

    /**
     * 终止显示级别
     */
    @TableField(value = "zoome")
    private Short zoome;

    /**
     * 类型(1=水系分区，2=行政分区)
     */
    @TableField(value = "type")
    private String type;

    /**
     * 备注
     */
    @TableField(value = "remarks")
    private String remarks;

}